package com.action.gulimall.auth.feign;

import com.action.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author sl shilun217@qq.com
 * @Deacription TODO
 * @date 2021/06/28/20:06
 **/
@FeignClient(value = "gulimall-thrid-party")
public interface ThridPartyFeginService {

    @GetMapping(value = "/sms/sendCode")
    R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
